package com.example.demo.model.goods.goods.service;

import com.example.demo.Results.ResultClass;
import com.example.demo.model.goods.goods.entity.ShopGoods;
import com.example.demo.model.goods.goods.entity.ShopGoodsType;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.ui.ModelMap;
import org.springframework.web.servlet.ModelAndView;

import javax.annotation.Resource;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author STAHYW
 * @since 2021-10-02
 */
public interface ShopGoodsTypeService extends IService<ShopGoodsType> {

    ModelAndView goodsTypeList(Integer pageNo, Integer pageSize);

    ResultClass goodsTypeDel(Integer id);

    ModelAndView goodsTypeEdit(Integer id);

    ResultClass goodsTypeEditDo(ShopGoodsType shopGoodsType);
}
